package com.ywu.menu.spi.spi;

import com.ywu.common.result.CommonResult;
import com.ywu.menu.spi.dto.MenuDto;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

@FeignClient(value = "YWU-MENU")
public interface MenuSpi {
    @PostMapping("/ywu/menu/delete.menu.register.cache.for.spi")
    CommonResult<Object> deleteRegisterCache(@RequestBody MenuDto menuDto);
}
